module.exports = app => {
	const { router, controller } = app;

	router.post('/share/create', controller.share.create);
	router.get('/share/list', controller.share.list);
	router.get('/share/:sharedurl', controller.share.read);
	router.post('/share/save', controller.share.save);
	router.get('/sharepage/:shareurl', controller.share.readpage);
};
